Conversation
Bump libsemigroups
|
Documentation preview for this PR (built with commit c92ca31; changes) is ready! 🎉 |
|
libsemigroups can't be updated to v3 because the GAP semigroups package only supports v2. There is also a new version 5.5.4 of semigroups, it makes sense to update it too. |
more patches to take care of |
Thanks - is this your output of |
This patch comes from #40153 I have hard time imagining it would fail on macOS, but somehow magically work on Linux. You either have to enable building gap_packages via ./configure, or |
dimpase
left a comment
There was a problem hiding this comment.
make sure make gap_packages works, and then run tests
Indeed. I can reproduce your patch issue when I explicitly run |
|
All tests pass locally when I run |
|
As mentioned above, you need to revert the libsemigroups upgrade, the semigroups package shipped by sage does not support v3. |
Thanks for the reminder. Do you have a case in mind of where this causes a failure? I ask because it feels slightly misleading to have all of the tests pass when the semigroups package doesn't support v3. So I'd like to add a test that fails on v3 and passes with any compatible version. |
Just try to install the |
|
look for |
Indeed it does not even compile. Is this something that we should update on a separate PR, or is it fine to leave it as v2 indefinitely? |
I see that this output tells me how to install gap_packages (by running |
|
if gap_packages is installed then it will be tested |
leave it as the highest version supported by Semigroups package as packaged by GAP |
|
Ok I think most recent push addresses all comments |
|
semigroups 5.6.0 with support for libsemigroups v3 was just released, so those can now be upgraded too. |
This would need splitting Semigroups into its own spkg? |
It is its own spkg already |
|
Note that there is a bug in the semigroups tarball that breaks building with external libsemigroups. A workaround is |
In which directory should I do this? I tried in the build directory |
In |
|
hmm, no, I think this should be a patch? un-tar the tarball somewhere, |
|
or is it an unconfigured tarball? |
I'm not sure, but it seems to work with the patch approach. Does that answer the question? |
Yep, all good then. |
Ok great - is there anything else I should do for this pr? |
|
do the tests pass with gap_packages spkg correctly installed? |
I believe so. Here is the test log to make sure I am interpreting it correctly. |
sagemathgh-41700: Upgrade GAP, libsemigroups Upgrade GAP to 4.15.1 and libsemigroups to 3.5.1. <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Fixes sagemath#41653 and implicitly sagemath#40186 ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#41700 Reported by: trevorkarn Reviewer(s): Chenxin Zhong, Dima Pasechnik
sagemathgh-41700: Upgrade GAP, libsemigroups Upgrade GAP to 4.15.1 and libsemigroups to 3.5.1. <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Fixes sagemath#41653 and implicitly sagemath#40186 ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#41700 Reported by: trevorkarn Reviewer(s): Chenxin Zhong, Dima Pasechnik
Upgrade GAP to 4.15.1 and libsemigroups to 3.5.1.
Fixes #41653 and implicitly #40186
📝 Checklist
⌛ Dependencies